Skip to content

Commit

Permalink
Added a proper Makefile. Removed wxDev-C++. (sorry.)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukitty committed Aug 27, 2016
1 parent f1ef70a commit d699a7f
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 214 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,4 @@ To play beta tracks with the most common beta drumset, change the file's interna
The Japanese OrgMaker 2 drum set is not supported at the moment, but the English version is available under Org-02 as normal due to no conflicts in instrument numbering.

**To compile your own:**
- Use the _wxDev-C++_ project file
<br>**or**
- Make a new project file for your IDE of choice, including both `in_org.c` and `in_org.rc`
<br>**or**
- Do something like this:
```
gcc -c src/in_org.c -o obj/in_org.o
windres src/in_org.rc obj/in_org-res.o
gcc -o in_org.dll obj/in_org.o obj/in_org-res.o -shared
```
- mingw32-make
15 changes: 15 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CC=gcc
RES=windres
CFLAGS= -Wall -Wextra -O2
LFLAGS= -shared -s
OBJECTS= in_org.o in_org-res.o

in_org.dll: $(OBJECTS)
$(CC) $(LFLAGS) -o $@ $(OBJECTS)

%.o: %.c $(wildcard *.inc)
$(CC) -c -o $@ $< $(CFLAGS)

in_org-res.o: in_org.rc in_org.h
$(RES) $< $@

43 changes: 0 additions & 43 deletions src/Makefile.win

This file was deleted.

25 changes: 0 additions & 25 deletions src/Objects/MingW/in_org_private.h

This file was deleted.

4 changes: 0 additions & 4 deletions src/Objects/MingW/in_org_private.rc

This file was deleted.

Binary file removed src/Objects/MingW/in_org_private.res
Binary file not shown.
117 changes: 0 additions & 117 deletions src/in_org.dev

This file was deleted.

15 changes: 0 additions & 15 deletions src/in_org.layout

This file was deleted.

0 comments on commit d699a7f

Please sign in to comment.