]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/services/gfx/mw/v2_0/src/demos/nxroach/Makefile
Initial revision
[karo-tx-redboot.git] / packages / services / gfx / mw / v2_0 / src / demos / nxroach / Makefile
1 ##############################################################################
2 # Microwindows template Makefile
3 # Copyright (c) 2000 Martin Jolicoeur, Greg Haerr
4 ##############################################################################
5
6 include $(CONFIG)
7
8 ######################## Additional Flags section ############################
9
10 # Directories list for header files
11 INCLUDEDIRS +=
12 # Defines for preprocessor
13 DEFINES +=
14
15 # Compilation flags for C files OTHER than include directories
16 CFLAGS += -I./bitmaps
17 # Preprocessor flags OTHER than defines
18 CPPFLAGS +=
19 # Linking flags
20 LDFLAGS += -lm
21
22 ############################# targets section ################################
23
24 ifeq ($(NANOWM), Y)
25
26 # If you want to create a library with the objects files, define the name here
27 LIBNAME =
28
29 # List of objects to compile
30 OBJS = nxroach.o
31
32 all: default $(TOP)/bin/nxroach
33
34 endif
35
36 ######################### Makefile.rules section #############################
37
38 include $(TOP)/Makefile.rules
39
40 ######################## Tools targets section ###############################
41
42 ifeq ($(SHAREDLIBS), Y)
43 $(TOP)/bin/nxroach: $(OBJS) $(NANOXCLIENTLIBS) $(TOP)/config
44         $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(CCNANOXCLIENTLIBS)
45 else
46 $(TOP)/bin/nxroach: $(OBJS) $(NANOXCLIENTLIBS) $(TOP)/config
47         $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(NANOXCLIENTLIBS)
48 endif