view frontend/Makefile @ 22:d9f79436e0af default tip

Makefile Add ranlib for the library
author darius
date Fri, 24 Apr 1998 08:05:26 +0000
parents eb5b14d0e054
children
line wrap: on
line source

#OBJS = mikmodux.o mlist.o display.o marchive.o
OBJS = mikmodux.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