diff options
author | midipix <writeonce@midipix.org> | 2015-05-08 21:45:33 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:19 -0500 |
commit | 554e91a289eb4fab672ed00d1790527b0e98b6ca (patch) | |
tree | 7bb03015404c2bd75114f10121bff1e4690f5c8e | |
parent | 1ef00310a8458f251a7f6aaf88c64295b3d8f7eb (diff) | |
download | perk-554e91a289eb4fab672ed00d1790527b0e98b6ca.tar.bz2 perk-554e91a289eb4fab672ed00d1790527b0e98b6ca.tar.xz |
Makefile: do not include the main application object (perk.o) in OBJS.
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -6,8 +6,7 @@ CFLAGS_APP = -DPERK_APP CFLAGS_OBJ = -DPERK_PRE_ALPHA CFLAGS_LIB = -fPIC # -DPERK_PRE_ALPHA -OBJS = perk.o \ - pe_map_raw_image.o \ +OBJS = pe_map_raw_image.o \ pe_get_image_meta.o \ pe_read_dos_header.o \ pe_read_coff_header.o \ @@ -30,7 +29,7 @@ app: $(CC) $(CFLAGS_APP) $(CFLAGS) -c $(SRCTREE)/src/reader/pe_read_export_header.c $(CC) $(CFLAGS_APP) $(CFLAGS) -c $(SRCTREE)/src/reader/pe_read_import_header.c $(CC) $(CFLAGS_APP) $(CFLAGS) -c $(SRCTREE)/src/output/pe_output_export_symbols.c - $(CC) -static -o perk $(OBJS) + $(CC) -static -o perk perk.o $(OBJS) static: $(CC) $(CFLAGS_OBJ) $(CFLAGS) -c $(SRCTREE)/src/main/pe_map_raw_image.c |