1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#
# Generic makefile for xmountins. You will have to add the locations
# of your X include files and libraries to the appropriate macros
#
CC=cc
CFLAGS=-I/usr/iclude/X11
LDFLAGS=-L/usr/lib/X11
LOCAL_LIBRARIES = -lX11
SYS_LIBRARIES = -lm
SRCS = calcalt.c random.c artist.c xmountains.c X_graphics.c print_alg.c
OBJS = calcalt.o random.o artist.o xmountains.o X_graphics.o print_alg.o
HDRS = crinkle.h global.h paint.h patchlevel.h copyright.h
xmountains: $(OBJS)
$(CC) $(LDFLAGS) -o xmountains $(OBJS) -lX11 -lm
calcalt.o: crinkle.h
artist.o: paint.h crinkle.h
global.o: crinkle.h paint.h
xmountains.o: paint.h patchlevel.h copyright.h crinkle.h
X_graphics.o: paint.h crinkle.h
|