File: Makefile.alt

package info (click to toggle)
xmountains 2.7-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 176 kB
  • ctags: 222
  • sloc: ansic: 2,623; makefile: 7
file content (23 lines) | stat: -rw-r--r-- 694 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# 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/include/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  paint.h patchlevel.h copyright.h vroot.h

xmountains: $(OBJS)
	$(CC) $(LDFLAGS) -o xmountains $(OBJS) -lX11 -lm


calcalt.o: crinkle.h
artist.o: paint.h crinkle.h
xmountains.o: paint.h patchlevel.h copyright.h crinkle.h
X_graphics.o: paint.h crinkle.h