Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed Jun 21, 2019
0 parents commit 7fd935c
Show file tree
Hide file tree
Showing 304 changed files with 107,601 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .gitignore
@@ -0,0 +1,35 @@
# OS-specific
.DS_Store
thumbs.db

# Objects
*.o
*.exe
Tools/nscdec/nscdec
Tools/nscmake/nscmake
CMakeLists.txt
/Makefile

# Xcode
DerivedData
xcuserdata
xcshareddata
project.xcworkspace
build

# IDEA
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
.idea/**/contentModel.xml
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
cmake-build-*/
*.iws
41 changes: 41 additions & 0 deletions Dependencies/Makefile
@@ -0,0 +1,41 @@
OUTDIR ?= onscrlib
BUILDPKG=./build.sh

# Ideally, this makefile will be replaced with a better
# dependency resolution system, using info in the .pkgbuild
# files themselves.

PROGRAMS=freetype-config libpng14-config libpng-config sdl-config smpeg-config

ARCFILES = $(patsubst %,$(OUTDIR)/bin/%,$(PROGRAMS)) \
$(OUTDIR)/include \
$(OUTDIR)/lib

BNAME=onscrlib-$(shell uname)

.PHONY: all
all:
$(BUILDPKG) $(BUILDOPTS) onscrlib

.PHONY: zip bz2 gz
zip: $(BNAME).zip
bz2: $(BNAME).tar.bz2
gz: $(BNAME).tar.gz

$(BNAME).zip: all
rm -f $@
zip -rq $@ $(ARCFILES)

$(BNAME).tar.bz2: all
rm -f $@
tar -cjf $@ $(ARCFILES)

$(BNAME).tar.gz: all
rm -f $@
tar -czf $@ $(ARCFILES)

.PHONY: clean
clean:
rm -rf onscrlib onscrlib.* log src
@if [ -d $(OUTDIR) ]; then \
echo "Cleaned onscrlib, except for output folder $(OUTDIR)"; fi

0 comments on commit 7fd935c

Please sign in to comment.