mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
aa9107df8d
Submitted by: Kirill Ponomarew <ponomarew@oberon.net> PR: 53188 Approved by: fjoe (implicit)
28 lines
595 B
Plaintext
28 lines
595 B
Plaintext
--- Makefile.orig Wed Jun 11 07:59:00 2003
|
|
+++ Makefile Wed Jun 11 08:00:47 2003
|
|
@@ -1,16 +1,19 @@
|
|
-opzioni=-O3
|
|
+CFLAGS ?= ${CFLAGS}
|
|
+CC ?= ${CC}
|
|
+
|
|
+all: hffzip
|
|
|
|
hffzip: main.o albero.o bitIO.o
|
|
- gcc $(opzioni) -o hffzip main.o albero.o bitIO.o
|
|
+ $(CC) $(CFLAGS) -o hffzip main.o albero.o bitIO.o
|
|
|
|
bitIO.o: bitIO.c
|
|
- gcc $(opzioni) -c bitIO.c
|
|
+ $(CC) $(CFLAGS) -c bitIO.c
|
|
|
|
albero.o: albero.c bitIO.h albero.h
|
|
- gcc $(opzioni) -c albero.c
|
|
+ $(CC) $(CFLAGS) -c albero.c
|
|
|
|
main.o: main.c albero.h bitIO.h
|
|
- gcc $(opzioni) -c main.c
|
|
+ $(CC) $(CFLAGS) -c main.c
|
|
|
|
clean:
|
|
rm -f *.o hffzip
|