forked from danfe/nwreckdum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 664 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (20 loc) · 664 Bytes
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
CC ?= gcc
# Use the first CFLAGS for a highly optimized version, or the second for a
# debugable version
#CFLAGS = -O6 -funroll-loops -fexpensive-optimizations -m486 -Wall
#CFLAGS = -g3 -Wall
# If the following is uncommented, debugging information will be displayed
# while nwreckdum is working
#CFLAGS += -DDEBUG
# If you are trying to compile this for DOS, the following line must be
# uncommented to provide a workaround for the lack of snprintf()
#CFLAGS += -DDOS
OBJ = nwreckdum.o shhopt.o
all: ${OBJ} nwreckdum
#.c.o: debdb.h
# ${CC} ${CFLAGS} -o $@ -c $<
nwreckdum: ${OBJ}
${CC} ${CFLAGS} -o nwreckdum ${OBJ}
clean:
rm -f ${OBJ}
rm -f nwreckdum