diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-31 10:20:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-31 10:20:46 -0700 |
commit | 8e95ded57bdbaa66ba1c2ec25c55a56d53bce943 (patch) | |
tree | 810f2c0d7afe5bd9faafa0268bfc3de00d900735 /Makefile | |
parent | 3aa54e206ad214d21a53599a847ae07f1c039a84 (diff) | |
download | subsurface-8e95ded57bdbaa66ba1c2ec25c55a56d53bce943.tar.gz |
Split up profile frame generation into its own file.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,8 +1,10 @@ CC=gcc CFLAGS=-Wall -Wno-pointer-sign -g -parse: main.o parse.o - $(CC) $(LDLAGS) -o parse main.o parse.o `xml2-config --libs` \ +OBJS=main.o profile.o parse.o + +parse: $(OBJS) + $(CC) $(LDLAGS) -o parse $(OBJS) `xml2-config --libs` \ `pkg-config --libs gtk+-2.0` parse.o: parse.c dive.h @@ -10,3 +12,6 @@ parse.o: parse.c dive.h main.o: main.c dive.h $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c main.c + +profile.o: profile.c dive.h + $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c profile.c |