head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2003.06.11.10.57.35;	author osa;	state Exp;
branches;
next	;


desc
@@


1.1
log
@New port hffzip: small file compressor based on Huffman coding

Submitted by:	Kirill Ponomarew <ponomarew@@oberon.net>
PR:		53188
Approved by:	fjoe (implicit)
@
text
@--- 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
@
