added fist version of compiler

This commit is contained in:
2017-08-07 10:41:09 +02:00
parent 8372a03273
commit 7a9a3ca64a
3 changed files with 202 additions and 0 deletions

15
Makefile Normal file
View File

@@ -0,0 +1,15 @@
OBJ:= main.o
OUTPUT:=nhtmlc
debug: CXXFLAGS = -g
debug: CFLAGS = -g
debug: $(OBJ)
gcc $(OBJ) -g -o $(OUTPUT)
release: $(OBJ)
gcc $(OBJ) -o $(OUTPUT)
clean:
rm -rf $(OBJ) $(OUTPUT)