Browse Source

added Makefile for C programs

Stan Gurtler 2 years ago
parent
commit
e33ac5f83c
1 changed files with 10 additions and 0 deletions
  1. 10 0
      dhtpir_simulation/Makefile

+ 10 - 0
dhtpir_simulation/Makefile

@@ -0,0 +1,10 @@
+all: options_setup run_tests
+
+options_setup: options_setup.c 
+	gcc -o $@ $<
+
+run_tests: run_tests.c 
+	gcc -pthread -o $@ $<
+
+clean:
+	-rm options_setup run_tests