view 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
line wrap: on
line source

#OBJS = mikmodux.o mlist.o display.o marchive.o
OBJS = mikmodux.o mlist.o
LIBDIR = ../lib
INCLUDEDIR = ../include

CFLAGS = -g -I$(INCLUDEDIR)

mikmod: $(OBJS) $(LIBDIR)/libmikmod.a $(LIBDIR)/libmmio.a
	gcc -o mikmod $(OBJS) -L$(LIBDIR) -lmikmod -lmmio -lncurses

mikmodux.o: mikmodux.c
	gcc -c -o mikmodux.o $(CFLAGS) mikmodux.c

mlist.o: mlist.c
	gcc -c -o mlist.o $(CFLAGS) mlist.c

clean: 
	rm $(OBJS) mikmod