Browse Source

Fix build on linux

Pabloader 5 years ago
parent
commit
ec5099acba
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Makefile

+ 3
- 1
Makefile View File

13
 else
13
 else
14
 	LIBRARIES=-lX11 -lGL -lpthread -lpng -lasound
14
 	LIBRARIES=-lX11 -lGL -lpthread -lpng -lasound
15
 	EXECUTABLE=awoorwae
15
 	EXECUTABLE=awoorwae
16
+	CC=gcc
17
+	CPP=g++
16
 endif
18
 endif
17
 SOURCES=$(wildcard src/*.c)
19
 SOURCES=$(wildcard src/*.c)
18
 SOURCES_CPP=$(wildcard src/*.cpp)
20
 SOURCES_CPP=$(wildcard src/*.cpp)
36
 	gdb $(EXECUTABLE)
38
 	gdb $(EXECUTABLE)
37
 
39
 
38
 run: $(EXECUTABLE)
40
 run: $(EXECUTABLE)
39
-	./$(EXECUTABLE)
41
+	./$(EXECUTABLE)

Loading…
Cancel
Save