File: Imakefile

package info (click to toggle)
xabacus 1-6
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 244 kB
  • ctags: 484
  • sloc: ansic: 746; makefile: 451
file content (36 lines) | stat: -rw-r--r-- 1,026 bytes parent folder | download
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
36
#
# run makedepend for dependancies 
# -g enable dbx debugging info; 
#CDEBUGFLAGS = -g

#-DDEBUG will '#define DEBUG' statements (trace)
#CDEBUGFLAGS = -DDEBUG

#Optimize
CDEBUGFLAGS = -O3

# -lm enables the math lib (needed if you #include <math.h>)
#EXTRA_LOAD_FLAGS = -lm

SRCS= main.c Xinit.c aba.c demo.c 
OBJS= main.o Xinit.o aba.o demo.o

LOCAL_LIBRARIES = $(XLIB) $(XTOOLLIB)

ComplexProgramTarget(xabacus)

# Distribution: Make the shar-files ~no bigger than 64K
shar: main.c Xinit.c aba.c demo.c Imakefile Makefile README xabacus.man XAbacus.ad icon.bm Lesson1.cmd Lesson2.cmd Lesson3.cmd xabacus.man XAbacus.ad
	shar -s 64000 README *.[ch] xabacus.man I* Makefile icon.bm *.cmd XAbacus.ad 
# Distribution: split the PS file into 2 files & shar them assuming the source
# can be contained in shar1 & shar2 
psshar: abacus.ps
	split -2500 abacus.ps abacus.ps
	shar -h shar3 abacus.psaa
	shar -h shar4 abacus.psab

# join 2 PS files to create Abacus.ps
ps:
	cat abacus.psaa abacus.psab >Abacus.ps
	rm -f abacus.ps??