projects
/
cs356-p1-elevator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get the Play/Pause and Quit buttons working nicely
[cs356-p1-elevator.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
acc9a11
..
d24a57c
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,20
+2,20
@@
CC=g++
CFLAGS=`pkg-config gtkmm-2.4 --cflags`
LIBS=`pkg-config gtkmm-2.4 --libs`
CFLAGS=`pkg-config gtkmm-2.4 --cflags`
LIBS=`pkg-config gtkmm-2.4 --libs`
-SRCS=position.cpp stop.cpp elevator.cpp elevatorcontroller.cpp elevatordoor.cpp callbutton.cpp positionlabel.cpp requestbutton.cpp elevatorgui.cpp
test
.cpp
+SRCS=position.cpp stop.cpp elevator.cpp elevatorcontroller.cpp elevatordoor.cpp callbutton.cpp positionlabel.cpp requestbutton.cpp elevatorgui.cpp
main
.cpp
-
test
: $(SRCS:.cpp=.o)
+
main
: $(SRCS:.cpp=.o)
$(CC) -o $@ $^ $(LIBS)
.cpp.o:
$(CC) $(CFLAGS) -c -o $@ $<
$(CC) -o $@ $^ $(LIBS)
.cpp.o:
$(CC) $(CFLAGS) -c -o $@ $<
-run:
test
- ./
test
+run:
main
+ ./
main
clean:
clean:
- rm -f *.o
test
+ rm -f *.o
main
-all:
test
+all:
main
.PHONY: run clean all
.PHONY: run clean all