1 ##############################################################################
2 # Microwindows template Makefile
3 # Copyright (c) 2000 Martin Jolicoeur, Greg Haerr
4 ##############################################################################
8 ######################## Additional Flags section ############################
10 # Directories list for header files
12 # Defines for preprocessor
15 # Compilation flags for C files OTHER than include directories
17 # Preprocessor flags OTHER than defines
22 ############################# targets section ################################
26 # If you want to create a library with the objects files, define the name here
29 # List of objects to compile
32 all: default $(TOP)/bin/nxroach
36 ######################### Makefile.rules section #############################
38 include $(TOP)/Makefile.rules
40 ######################## Tools targets section ###############################
42 ifeq ($(SHAREDLIBS), Y)
43 $(TOP)/bin/nxroach: $(OBJS) $(NANOXCLIENTLIBS) $(TOP)/config
44 $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(CCNANOXCLIENTLIBS)
46 $(TOP)/bin/nxroach: $(OBJS) $(NANOXCLIENTLIBS) $(TOP)/config
47 $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(NANOXCLIENTLIBS)