Browse Source

Fixed makefile

Thomas Buck 12 years ago
parent
commit
737fa13751
1 changed files with 5 additions and 3 deletions
  1. 5
    3
      Cube Control/makefile

+ 5
- 3
Cube Control/makefile View File

@@ -13,16 +13,18 @@ else
13 13
 	jar -cmf manifest.txt "Cube Control.jar" *.class serialHelper
14 14
 endif
15 15
 
16
+ifeq ($(TARGET),win)
17
+frame.class: serialHelper.exe
18
+else
16 19
 frame.class: serialHelper
20
+endif
17 21
 	$(JAVAC) *.java
18 22
 
19
-ifeq ($(TARGET),win)
20 23
 serialHelper.exe:
21 24
 	$(CC) -o serialHelper.exe -D winHelper serialHelper.c
22
-else
25
+
23 26
 serialHelper:
24 27
 	$(CC) -o serialHelper serialHelper.c
25
-endif
26 28
 
27 29
 clean:
28 30
 	rm -f *.class

Loading…
Cancel
Save