diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:45:28 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:45:28 +0900 |
commit | 290e0617528e3bb204247a2ad49cbacf42722264 (patch) | |
tree | 7c6a96bd438a79f5197e689fc5d15c87f5164769 /Makefile | |
parent | 033f8ffbca1b8f2d81f3baad69e6fcf1af0cf67c (diff) | |
download | vconfig-290e0617528e3bb204247a2ad49cbacf42722264.tar.gz vconfig-290e0617528e3bb204247a2ad49cbacf42722264.tar.bz2 vconfig-290e0617528e3bb204247a2ad49cbacf42722264.zip |
Tizen 2.1 basesubmit/tizen_2.1/20130424.230137submit/tizen/20130517.052222accepted/tizen_2.1/20130425.040517accepted/tizen/20130520.1019062.1b_releasetizen_2.1
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..23bb374 --- /dev/null +++ b/Makefile @@ -0,0 +1,44 @@ +# makefile template + +include MakeInclude + +LDLIBS = + +VLAN_OBJS = vconfig.o + +ALL_OBJS = ${VLAN_OBJS} + +VCONFIG = vconfig #program to be created + + +all: ${VCONFIG} macvlan_config + + +#This is pretty silly.. +vconfig.h: Makefile + touch vconfig.h + + +$(VCONFIG): $(VLAN_OBJS) + $(CC) $(CCFLAGS) $(LDFLAGS) -o $(VCONFIG) $(VLAN_OBJS) $(LDLIBS) + $(STRIP) $(VCONFIG) + +macvlan_config: macvlan_config.c + $(CC) $(CCFLAGS) $(LDFLAGS) -o $@ $< + +$(ALL_OBJS): %.o: %.c %.h + @echo " " + @echo "Making $<" + $(CC) $(CCFLAGS) -c $< + +clean: + rm -f *.o + +purge: clean + rm -f *.flc ${VCONFIG} macvlan_config vconfig.h + rm -f *~ + + + + + |