File: Makefile.std

package info (click to toggle)
bugsx 1.08-12
  • links: PTS
  • area: non-free
  • in suites: jessie, jessie-kfreebsd, lenny, squeeze, wheezy
  • size: 512 kB
  • ctags: 217
  • sloc: ansic: 2,204; makefile: 46
file content (35 lines) | stat: -rw-r--r-- 807 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# path to X header files
XINCLUDE        = /usr/X11R5/include

# path to X library files
XLIBS           = /usr/X11R5/lib

# the C compiler, used as linker ;o)
CC		= cc 

# use this for SYSV: LDLIBS = -lm -lnsl -lsocket
# use this for SOLARIS: LDLIBS = -lnsl 
LDFLAGS         = -L$(XLIBS)
LDLIBS          = -lX11 -lm 
OBJS		= bugsx.o xbutil.o util.o breed.o grow.o noise.o 


########################################
# Do not edit below this point !!!!!!!!!
########################################
xfsm:	$(OBJS)
	@echo -n "Linking xfsm ... "
	@$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o xfsm
	@echo "Done."

clean:
	rm -rf *.o 

### dependencies for each object
bugsx.o: bugsx.c bugsx.h
xbutil.o: xbutil.c bugsx.h
util.o: util.c bugsx.h
breed.o: breed.c bugsx.h
grow.o: grow.c bugsx.h
noise.o: noise.c bugsx.h