refactored some code. compiles now without suppresing any warning with gcc-6.3.0.
[AROS.git] / tools / fd2pragma / Makefile
blob8f8291fb0078fc326b63ddbb96a62bbf7d2f6b4f
1 # Copyright © 2003-2017, The AROS Development Team. All rights reserved.
2 # $Id$
4 include $(TOP)/config/make.cfg
6 NOWARN_FLAGS := -Wno-format-security -Wno-empty-body
8 all : $(FD2PRAGMA)
10 $(FD2PRAGMA) : fd2pragma.c
11 @$(ECHO) "Compiling $(notdir $@)..."
12 @$(HOST_CC) $(HOST_CFLAGS) $(USER_CFLAGS) $(NOWARN_FLAGS) $< -o $@
14 clean:
15 @$(RM) -f $(FD2PRAGMA)