aboutsummaryrefslogtreecommitdiffstats
path: root/test/makefile
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-06-04 21:01:16 +0000
committerterminaldweller <devi@terminaldweller.com>2024-06-04 21:01:16 +0000
commit9a125f6be1704e804a2a7861ebc2a0890272b6db (patch)
treeda0c29e829f879d6d79b742927077c984ab65386 /test/makefile
parentupdated the dependencies (diff)
downloaddelf-9a125f6be1704e804a2a7861ebc2a0890272b6db.tar.gz
delf-9a125f6be1704e804a2a7861ebc2a0890272b6db.zip
added a new option to remove color from output
Diffstat (limited to 'test/makefile')
-rw-r--r--test/makefile35
1 files changed, 0 insertions, 35 deletions
diff --git a/test/makefile b/test/makefile
deleted file mode 100644
index 9414f84..0000000
--- a/test/makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-
-##################################VARS#################################
-CC?=gcc
-CC=gcc
-CC_FLAGS=-fpic -O0 -g -v --debug
-#LD_FLAGS= -l bfd
-LD_FLAGS=
-TARGET=test
-##################################RULES################################
-.DEFAULT:all
-
-.PHONY:all clean help
-
-all:$(TARGET) $(TARGET).so $(TARGET).asm
-
-.c.o:
- $(CC) $(CC_FLAGS) -c $< -o $@
-
-$(TARGET): $(TARGET).o
- $(CC) $^ $(LD_FLAGS) -o $@
-
-$(TARGET).asm: $(TARGET).o
- objdump -r -d -M intel -S $(TARGET).o > $(TARGET).asm
-
-$(TARGET).so: $(TARGET).o
- $(CC) $^ $(LD_FLAGS) -shared -o $@
-
-clean:
- rm -f *.o *~ $(TARGET) $(TARGET).so $(TARGET).asm
-
-help:
- @echo 'all builds so and exe. all is the default.'
- @echo 'clean runs clean.'
- @echo 'help runs help.'
-