source: ETALON/gfw_orig/Makefile @ 617

Last change on this file since 617 was 617, checked in by delerue, 8 years ago

Added the original gfw

File size: 641 bytes
Line 
1PROG_NAME := gfw
2PROG_SRC := $(wildcard *.c)
3PROG_OBJS := ${PROG_SRC:.c=.o}
4PROG_INCLUDE_DIRS := /system/naglibs/mark8libs/cllux08dgl/include
5PROG_LIBRARY_DIRS := /system/naglibs/mark8libs/cllux08dgl/lib/
6PROG_LIBRARIES := nagc_nag m
7
8CPPFLAGS += -m32 -Wall
9CPPFLAGS += $(foreach includedir,$(PROG_INCLUDE_DIRS),-I$(includedir))
10LDFLAGS += $(foreach librarydir,$(PROG_LIBRARY_DIRS),-L$(librarydir))
11LDFLAGS += $(foreach library,$(PROG_LIBRARIES),-l$(library))
12
13.PHONY: all clean distclean
14
15all: $(PROG_NAME)
16
17$(PROG_NAME): $(PROG_OBJS)
18        $(LINK.cc) $(PROG_OBJS) -o $(PROG_NAME)
19
20clean:
21        @- $(RM) $(PROG_NAME) $(PROG_NAME).o
22
23distclean: clean
Note: See TracBrowser for help on using the repository browser.