mlib update: header and mmakefile updates
[tangerine.git] / tools / cpak / Makefile
blobe5189a74a3c2b6402446daf362ed0fc1e7b1ca6a
1 # Copyright © 2000, The AROS Development Team. All rights reserved.
2 # $Id$
4 # Desc: Makefile to create the (soon to be obsolete) cpak
7 USER_CFLAGS := -Wall -Wunused -O2
8 -include $(TOP)/config/make.cfg
10 HOST_CC ?= $(CC)
11 HOST_STRIP ?= strip
12 MECHO ?= echo
13 CPAK ?= cpak
14 HOST_CFLAGS ?= $(USER_CFLAGS)
16 all : $(CPAK)
18 $(CPAK) : cpak.c
19 @$(MECHO) "Compiling $(notdir $@)..."
20 @$(HOST_CC) $(HOST_CFLAGS) $< -o $@
21 @$(HOST_STRIP) $(CPAK)
23 clean :
24 @$(RM) $(CPAK)
26 .PHONY : all clean