-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (18 loc) · 809 Bytes
/
Makefile
File metadata and controls
26 lines (18 loc) · 809 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
# This file is part of BtrieveFileSaver project, http://btrievefilesave.sourceforge.net/
PROG= BtrFileSaver
all:
@echo "make (linux|bsd)"
##########################################################################
### UNIX build: linux, bsd
##########################################################################
CFLAGS= -W -Wall -std=c99 -pedantic -Os -fomit-frame-pointer $(COPT)
LINFLAGS= -ldl $(CFLAGS)
linux:
$(CC) $(LINFLAGS) BtrieveFileSaverLib.c main.c -s -o $(PROG)
bsd:
$(CC) $(CFLAGS) BtrieveFileSaverLib.c main.c -s -o $(PROG)
##########################################################################
### cleanup
##########################################################################
clean:
rm -rf *.o *.core $(PROG) *.obj $(PROG).1.txt *.dSYM *.tgz