File: Makefile

package info (click to toggle)
cgiwrap 3.5-3
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 356 kB
  • ctags: 115
  • sloc: sh: 3,954; ansic: 1,036; perl: 104; makefile: 86
file content (41 lines) | stat: -rwxr-xr-x 661 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
37
38
39
40
41
#
# Makefile for CGIWrap
# Don't change this file, it will be replaced by Makefile.SH
#

#
# Other Compiler Flags
#
CC= gcc
CCDEBUG= -O2
CCFLAGS= -m486 -malign-double -malign-loops=2 -malign-jumps=2 -malign-functions=2 -fno-strength-reduce 
LDFLAGS=  
LIBS=   

#
# Object Files
#
OBJS=cgiwrap.o debug.o util.o fetch.o stdutil.o

#
# Dependencies and rules
#
all: cgiwrap

.c.o: cgiwrap.h config.h Makefile
	$(CC) $(CCDEBUG) -c $(CCFLAGS) $<

cgiwrap: $(OBJS)
	$(CC) $(OBJS) $(LDFLAGS) $(LIBS) -o cgiwrap

clean:
	rm -f *.o *.tar cgiwrap.cat cgiwrap core

realclean:
	rm -f Makefile cppstdin Wanted config.h 

reconf: clean
	./Configure -S

remake: reconf all