Skip to content

Commit

Permalink
uni: reuse top level definitions
Browse files Browse the repository at this point in the history
Signed-off-by: Jafar Al-Gharaibeh <[email protected]>
  • Loading branch information
Jafaral committed May 27, 2024
1 parent a66454f commit 86ad446
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions uni/3d/viewer/Makefile
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



0 comments on commit 86ad446

Please sign in to comment.