-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #447 from Jafaral/clang-pragma
fix gcc warnings by guarding clang pragma
- Loading branch information
Showing
2 changed files
with
8 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,21 @@ | ||
BASE=../../.. | ||
include $(BASE)/Makedefs.uni | ||
|
||
UC=$(UNICON) | ||
UFLAGS=-c -u | ||
|
||
UFILES= u3dviewer.u world.u subwin3d.u | ||
|
||
TARGET=u3dview | ||
|
||
all: $(UFILES) $(TARGET) | ||
|
||
pure: | ||
$(MAKE) clean | ||
$(MAKE) all | ||
|
||
$(TARGET): $(UFILES) | ||
$(UC) -G -o $(TARGET) $(UFILES) | ||
|
||
# u3dview.u: u3dview.icn | ||
|
||
%.u: %.icn | ||
$(UC) $(UFLAGS) $< | ||
|
||
zip: | ||
zip lib3d.zip makefile *.icn | ||
zip u3dviewer.zip Makefile *.icn | ||
|
||
clean: | ||
$(DEL) $(TARGET) $(UFILES) uniclass.dir uniclass.pag | ||
$(RM) $(TARGET) $(UFILES) u3dviewer.zip uniclass.dir uniclass.pag | ||
|
||
|
||
|