make sure features has been run before invoking linklibs-libatomic
[AROS.git] / tools / parseoffsets / Makefile
blob4afae41c5fc539b44bd92cdb5902d6e88f66cb32
1 # Copyright © 2019, The AROS Development Team. All rights reserved.
2 # $Id$
4 USER_CFLAGS := -Wall -Werror -Wunused -O2
5 USER_CPPFLAGS :=
7 -include $(TOP)/config/make.cfg
8 include Makefile.deps
10 HOST_CC ?= gcc
11 HOST_STRIP ?= strip
12 MECHO ?= echo
13 HOST_CFLAGS ?= $(USER_CFLAGS)
14 HOST_CPPFLAGS ?= $(USER_CPPFLAGS)
15 PARSEOFFSETS ?= parseoffsets
17 all : $(PARSEOFFSETS)
19 $(PARSEOFFSETS) : $(PARSEOFFSETS_DEPS)
20 @$(MECHO) "Compiling $(notdir $@)..."
21 @$(HOST_CC) -g $(HOST_CFLAGS) $(HOST_CPPFLAGS) -I$(GENINCDIR) -I$(TOP)/$(CURDIR) $(PARSEOFFSETS_SRCS) -o $@
22 # @$(HOST_STRIP) $@
24 clean :
25 @$(RM) $(PARSEOFFSETS)
27 .PHONY : all clean