diff options
| author | 2013-12-13 00:44:17 +0100 | |
|---|---|---|
| committer | 2013-12-13 00:44:17 +0100 | |
| commit | a798afc8b5b00a43f4b121168e0419df2d398338 (patch) | |
| tree | c178d7a149028944254511d03f91266ca43cfcbd /libcnary/Makefile | |
| parent | 3b7647499474619b3e24bf01105b6b037887a0ed (diff) | |
| download | libplist-a798afc8b5b00a43f4b121168e0419df2d398338.tar.gz libplist-a798afc8b5b00a43f4b121168e0419df2d398338.tar.bz2 | |
change build system to autotools
Diffstat (limited to 'libcnary/Makefile')
| -rw-r--r-- | libcnary/Makefile | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libcnary/Makefile b/libcnary/Makefile deleted file mode 100644 index bdd165d..0000000 --- a/libcnary/Makefile +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | TARGET = cnary | ||
| 2 | LIBRARY = libcnary.a | ||
| 3 | OBJECTS = cnary.o libcnary.a | ||
| 4 | LIBRARY_OBJECTS = node.o list.o iterator.o node_list.o node_iterator.o | ||
| 5 | CFLAGS=-g -I./include -I/opt/local/include -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk | ||
| 6 | LDFLAGS=-L/opt/local/lib -framework CoreFoundation -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wl,-no_compact_linkedit | ||
| 7 | |||
| 8 | |||
| 9 | %.o: %.c | ||
| 10 | $(CC) -o $(@) -c $(^) $(CFLAGS) | ||
| 11 | |||
| 12 | $(LIBRARY): $(LIBRARY_OBJECTS) | ||
| 13 | $(AR) rs $(@) $(^) | ||
| 14 | |||
| 15 | $(TARGET): $(OBJECTS) | ||
| 16 | $(CC) -o $(@) $(^) $(CFLAGS) $(LDFLAGS) | ||
| 17 | |||
| 18 | all: $(TARGET) | ||
| 19 | |||
| 20 | clean: | ||
| 21 | rm -rf $(TARGET) $(LIBRARY) $(OBJECTS) $(LIBRARY_OBJECTS) \ No newline at end of file | ||
