aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)Author
2018-11-04Makefile: Add `build-release` targetTeddy Wing
Build a release version of the library. To get these recipies, did what I did before for the debug ones. Ran $ xcodebuild -scheme dome_key_event_source_simulator -configuration Release and copy-pasted the result, with these changes: * Removed "sysroot"-related arguments (for Rust integration) * Changed absolute paths to use `${HOME}` * Replaced DerivedData directory path hash with `*`
2018-10-15Makefile: Move `xcodebuild` steps into MakeTeddy Wing
I needed to remove the `-isysroot` compiler flag in order to get the static library to build in my Rust project without the ld: framework not found ColorSync for architecture x86_64 linker error (which is apparently caused by the fact that I'm building against a 10.13 SDK on a machine running 10.12, since ColorSync exists only on 10.13). Not sure if there's a way to have Xcode not use the `-isysroot` flag and let us continue to build using `xcodebuild`. Just copy-pasted the build output including exported environment variables. I removed machine-specific things like absolute paths to my home directory and the hash after the DerivedData directory. Not very clean, but it seems to work.
2018-10-15Makefile: Add a `clean` targetTeddy Wing
2018-10-14Makefile: Rebuild when Objective-C sources changeTeddy Wing
Makes the edit-compile cycle faster.
2018-10-14Makefile: Use a more generic Mac OS SDKTeddy Wing
Instead of hard-coding the 10.13 SDK.
2018-10-14Add a C test file to test linking and the lib functionTeddy Wing
Once I got linking working, this confirms that the key simulator function actually works. Beef up the Makefile to enable us to properly link the Objective-C library.
2018-10-14Add MakefileTeddy Wing
Basic development build rule.