practically the whole thing up and running. I should make commits more often...
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
CC := gcc
|
||||
CFLAGS := -Wall -Werror
|
||||
LIBSPATH := -L/usr/lib/odweta/
|
||||
INCLUDEDIR := -I/usr/include/odweta/
|
||||
PATCH := -Wl,-rpath=/usr/lib/odweta/
|
||||
|
||||
.PHONY: build run
|
||||
|
||||
default: build
|
||||
|
||||
build: src/main.c # add files to compile here
|
||||
@$(CC) $(CFLAGS) -o ./build/$@ $^ $(PATCH) $(INCLUDEDIR) $(LIBSPATH) $(LIBS)
|
||||
|
||||
run:
|
||||
@./build/main
|
||||
|
||||
Reference in New Issue
Block a user