16
|
1 #OBJS = mikmodux.o mlist.o display.o marchive.o
|
|
2 OBJS = mikmodux.o mlist.o
|
|
3 LIBDIR = ../lib
|
|
4 INCLUDEDIR = ../include
|
|
5
|
|
6 CFLAGS = -g -I$(INCLUDEDIR)
|
|
7
|
|
8 mikmod: $(OBJS) $(LIBDIR)/libmikmod.a $(LIBDIR)/libmmio.a
|
|
9 gcc -o mikmod $(OBJS) -L$(LIBDIR) -lmikmod -lmmio -lncurses
|
|
10
|
|
11 mikmodux.o: mikmodux.c
|
|
12 gcc -c -o mikmodux.o $(CFLAGS) mikmodux.c
|
|
13
|
|
14 mlist.o: mlist.c
|
|
15 gcc -c -o mlist.o $(CFLAGS) mlist.c
|
|
16
|
|
17 clean:
|
|
18 rm $(OBJS) mikmod
|