Mercurial > ~darius > hgwebdir.cgi > mikmod
annotate frontend/Makefile @ 18:db40f957950f
Replaced the shell scripts with a Makefile
author | darius |
---|---|
date | Thu, 23 Apr 1998 22:58:04 +0000 |
parents | e5529b6e3b1c |
children | eb5b14d0e054 |
rev | line source |
---|---|
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 |