aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorAdam NAILI2018-06-06 01:37:51 +0200
committerAdam NAILI2018-06-06 01:37:51 +0200
commit68bc689e3e47ed57eb43a531c793d08d9231af4e (patch)
tree3545493fb39414ac9a90e46701cc9a8452ac0209 /makefile
parenta0e12235ddeaefb48062008db16485e8b9a1cb2c (diff)
downloadtpc-compiler-68bc689e3e47ed57eb43a531c793d08d9231af4e.tar.gz
Fixin no-pie in makefile
Diffstat (limited to 'makefile')
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index f876d44..0e65dec 100644
--- a/makefile
+++ b/makefile
@@ -37,7 +37,7 @@ IFLAGS += -I$(SRC_DIR) -I$(OUT_DIR)
37all: clean $(OUT_DIR)/$(COMPIL_BIN) 37all: clean $(OUT_DIR)/$(COMPIL_BIN)
38 38
39test: $(OUT_DIR)/$(FILE_TEST).o 39test: $(OUT_DIR)/$(FILE_TEST).o
40 $(CC) $< -o $(OUT_DIR)/$(FILE_TEST) -nostartfiles 40 $(CC) $< -o $(OUT_DIR)/$(FILE_TEST) -nostartfiles -no-pie
41 41
42$(OUT_DIR)/$(FILE_TEST).o: $(OUT_DIR)/$(FILE_TEST).asm 42$(OUT_DIR)/$(FILE_TEST).o: $(OUT_DIR)/$(FILE_TEST).asm
43 $(ASM) $(AFLAGS) $< -o $@ 43 $(ASM) $(AFLAGS) $< -o $@