Move main in to src
This commit is contained in:
parent
c11135c5c4
commit
4b7fb4a011
4
Makefile
4
Makefile
@ -51,8 +51,8 @@ OBJECTS = $(patsubst $(SRCDIR)/%.cpp,$(OBJDIR)/%.o,$(SOURCES))
|
||||
$(OBJDIR)/%.o: $(SRCDIR)/%.cpp
|
||||
g++ -c $< -o $@ $(RAYOPT) $(RAYINCLUDE) $(INCLUDE) $(CFLAGS)
|
||||
|
||||
main: main.cpp setup $(RAYOBJECTS) $(OBJECTS)
|
||||
g++ main.cpp $(RAYOBJECTS) $(OBJECTS) -o main $(RAYOPT) $(RAYINCLUDE) $(INCLUDE) $(CFLAGS)
|
||||
main: setup $(RAYOBJECTS) $(OBJECTS)
|
||||
g++ $(RAYOBJECTS) $(OBJECTS) -o main $(RAYOPT) $(RAYINCLUDE) $(INCLUDE) $(CFLAGS)
|
||||
|
||||
example: example.cpp setup $(RAYOBJECTS) $(OBJECTS)
|
||||
g++ example.cpp $(RAYOBJECTS) $(OBJECTS) -o example $(RAYOPT) $(RAYINCLUDE) $(INCLUDE) $(CFLAGS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user